{% extends "base.html" %}
{% load markup %}
{% block content %}
    {% for post in latest_blogs %}
        <h1> {{ post.title }}</h1>

        <p> {{ post.text|markdown}}</p>

        {% if post.get_tag_list %}
            <p class="post-footer">
            {% for tag in post.get_tag_list %}
                <a href="#" class="readmore"> {{ tag }}</a>
            {% endfor %}
            </p>
        {% endif %}
        <p class="post-footer">
            <a href="#" class="comments">Comments (0)</a>
            <span class="date">{{ post.updated }}</span>
        </p>

    {% endfor %}
<!--
    <a name="TemplateInfo"></a>
     <h1>Template Info</h1>


     <p><strong>SimpleBlog</strong> is a free, W3C-compliant, CSS-based website template
         by <a href="http://www.styleshout.com/">styleshout.com</a>. This work is
         distributed under the <a rel="license" href="http://creativecommons.org/licenses/by/2.5/">
             Creative Commons Attribution 2.5  License</a>, which means that you are free to
         use and modify it for any purpose. All I ask is that you give me credit by including a <strong>link back</strong> to
         <a href="http://www.styleshout.com/">my website</a>.
     </p>

     <p>
         You can find more of my free template designs at <a href="http://www.styleshout.com/">my website</a>.
         For premium commercial designs, you can check out
         <a href="http://www.dreamtemplate.com" title="Website Templates">DreamTemplate.com</a>.
     </p>

     <p class="post-footer">
         <a href="#" class="readmore">Read more</a>
         <a href="#" class="comments">Comments (0)</a>
         <span class="date">Oct 01, 2006</span>
     </p>
-->
{% endblock %}